home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 43
/
Amiga Format CD43 (1999)(Future Publishing)(GB)(Track 1 of 2)[!][issue 1999-09].iso
/
-serious-
/
hardware
/
adflib
/
adflibppc
/
lib
/
adf_util.h
< prev
next >
Wrap
C/C++ Source or Header
|
1999-06-14
|
718b
|
32 lines
#ifndef _ADF_UTIL_H
#define _ADF_UTIL_H 1
/*
* ADF Library. (C) 1997-1998 Laurent Clevy
*
* adf_util.h
*
*/
#include"prefix.h"
#include "adf_str.h"
void swLong(unsigned char* buf, unsigned long val);
void swShort(unsigned char* buf, unsigned short val);
struct List* newCell(struct List* list, void* content);
PREFIX void freeList(struct List* list);
void adfDays2Date(long days, int *yy, int *mm, int *dd);
BOOL adfIsLeap(int y);
void
adfTime2AmigaTime(struct DateTime dt, long *day, long *min, long *ticks );
struct DateTime
adfGiveCurrentTime( void );
void dumpBlock(unsigned char *buf);
#endif /* _ADF_UTIL_H */
/*##########################################################################*/